import request from '@/utils/request'
// 查询外协商信息
export const queryOutsourcingApi = (data) => {
    return request({
        url: '/system/outsource/outsourcing',
        method: 'get',
        params: data
    })
}
// 新增外协商信息
export const appInsertOutsourceApi = (data) => {
    return request({
        url: '/system/outsource/insertOutsource',
        method: 'post',
        data
    })
}
// 删除外协商信息
export const deleteOutsourceApi = (data) => {
    return request({
        url: '/system/outsource/deleteOutsource',
        method: 'post',
        data
    })
}
// 查询外加工单、
export const selectOutsourceManagementexportApi = (data) => {
    return request({
        url: '/system/outsource/selectOutsourceManagement',
        method: 'get',
        params: data
    })
}
// 查询外协商对账汇总
export const selectOutsourceAccountApi = (data) => {
    return request({
        url: '/system/outsource/selectOutsourceAccount',
        method: 'get',
        params: data
    })
}
// 查询外协商工费管理
export const selectOutsourceFeeApi = (data) => {
    return request({
        url: '/system/outsource/selectOutsourceFee',
        method: 'get',
        params: data
    })
}
// 外协商修改
export const updateOutsourceApi = (data) => {
    return request({
        url: '/system/outsource/updateOutsource',
        method: 'put',
        data

    })
}